package cn.bxshey.modules_user;

import cn.bxshey.feign.api.OrderClient;
import cn.bxshey.feign.config.FeignHeaderConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;

@SpringBootApplication
@ComponentScan(basePackages = {"cn.bxshey"})
@EnableFeignClients(clients = OrderClient.class,defaultConfiguration = FeignHeaderConfig.class)
@EnableAsync
public class ModulesUserApplication {

    public static void main(String[] args) {
        SpringApplication.run(ModulesUserApplication.class, args);
    }

}
